package com.zhsource.system.service;

import com.github.pagehelper.PageInfo;
import com.zhsource.system.domain.Menu;
import com.zhsource.system.query.MenuQuery;

import java.util.List;

/**
 * <p>@ClassName：IMenuService
 * <p>@Date 2023/10/17  23:28
 *
 * @Author zzl
 **/
public interface IMenuService {
    List<Menu> list();

    Menu selectById(Long id);

    PageInfo<Menu> page(MenuQuery menuQuery);

    void update(Menu menu);

    void insert(Menu menu);

    void delete(Long id);

    void batchDel(List<Long> ids);

    List<Menu> tree();
}
